package com.designPattern.factoryMethod.productImpl;

import com.designPattern.factoryMethod.product.Pizza;

/**
 * 纽约风味的奶酪披萨
 */
public class NYStyleCheesePizza extends Pizza {
	
	public NYStyleCheesePizza() {
		super();
		setName("NY Style Cheese Pizza!");
	}

	@Override
	public void bake() {
		System.out.println("烤箱烘烤...");
	}

	@Override
	public void cut() {
		System.out.println("切4刀...");
	}

	@Override
	public void box() {
		System.out.println("纸盒打包...");
	}

}
